
package md.sv.dbu.config.jaxb;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for mqConfigType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="mqConfigType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;attribute name="manager" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="queueFrom" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="queueTo" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="queueResult" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="queueError" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="removeFromQueue" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       &lt;attribute name="removeFromQueueOnError" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       &lt;attribute name="byteMessage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       &lt;attribute name="maxMessageRead" type="{http://www.w3.org/2001/XMLSchema}int" default="100" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mqConfigType", namespace = "http://dbu-namespace.md")
public class MqConfigType {

    @XmlAttribute(required = true)
    protected String manager;
    @XmlAttribute
    protected String queueFrom;
    @XmlAttribute
    protected String queueTo;
    @XmlAttribute
    protected String queueResult;
    @XmlAttribute
    protected String queueError;
    @XmlAttribute
    protected Boolean removeFromQueue;
    @XmlAttribute
    protected Boolean removeFromQueueOnError;
    @XmlAttribute
    protected Boolean byteMessage;
    @XmlAttribute
    protected Integer maxMessageRead;

    /**
     * Gets the value of the manager property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getManager() {
        return manager;
    }

    /**
     * Sets the value of the manager property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setManager(String value) {
        this.manager = value;
    }

    /**
     * Gets the value of the queueFrom property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getQueueFrom() {
        return queueFrom;
    }

    /**
     * Sets the value of the queueFrom property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setQueueFrom(String value) {
        this.queueFrom = value;
    }

    /**
     * Gets the value of the queueTo property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getQueueTo() {
        return queueTo;
    }

    /**
     * Sets the value of the queueTo property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setQueueTo(String value) {
        this.queueTo = value;
    }

    /**
     * Gets the value of the queueResult property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getQueueResult() {
        return queueResult;
    }

    /**
     * Sets the value of the queueResult property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setQueueResult(String value) {
        this.queueResult = value;
    }

    /**
     * Gets the value of the queueError property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getQueueError() {
        return queueError;
    }

    /**
     * Sets the value of the queueError property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setQueueError(String value) {
        this.queueError = value;
    }

    /**
     * Gets the value of the removeFromQueue property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public boolean isRemoveFromQueue() {
        if (removeFromQueue == null) {
            return true;
        } else {
            return removeFromQueue;
        }
    }

    /**
     * Sets the value of the removeFromQueue property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setRemoveFromQueue(Boolean value) {
        this.removeFromQueue = value;
    }

    /**
     * Gets the value of the removeFromQueueOnError property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public boolean isRemoveFromQueueOnError() {
        if (removeFromQueueOnError == null) {
            return false;
        } else {
            return removeFromQueueOnError;
        }
    }

    /**
     * Sets the value of the removeFromQueueOnError property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setRemoveFromQueueOnError(Boolean value) {
        this.removeFromQueueOnError = value;
    }

    /**
     * Gets the value of the byteMessage property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public boolean isByteMessage() {
        if (byteMessage == null) {
            return false;
        } else {
            return byteMessage;
        }
    }

    /**
     * Sets the value of the byteMessage property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setByteMessage(Boolean value) {
        this.byteMessage = value;
    }

    /**
     * Gets the value of the maxMessageRead property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public int getMaxMessageRead() {
        if (maxMessageRead == null) {
            return  100;
        } else {
            return maxMessageRead;
        }
    }

    /**
     * Sets the value of the maxMessageRead property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setMaxMessageRead(Integer value) {
        this.maxMessageRead = value;
    }

}
